<!--
  *  客服人员弹窗
-->
<template>
  <a-modal :open="visible" width="600px" :bodyStyle="{ height: '480px' }" title="" :closable="false"
    :maskClosable="true">
    <a-row>
      <div style="font-weight:bolder;margin: 0 auto;font-size: 16px">欢迎</div>
    </a-row>
    <a-row>
      <div style="font-weight:bolder;margin: 20px auto;font-size: 15px">热爱代码，热爱生活，永远年轻，永远前行</div>
    </a-row>
    <br />
    <div class="app-qr-box">
      <div class="app-qr">
        <a-image :width="300" style="border-radius: 15px;" src="/assets/images/platform/gzh.png" />
      </div>
    </div>
    <template #footer>
      <a-button type="primary" @click="hide">知道了</a-button>
    </template>
  </a-modal>
</template>
<script setup lang="ts">
import { ref } from 'vue';

defineExpose({
  show,
});

const visible = ref(true);
function show() {
  visible.value = true;
}
function hide() {
  visible.value = false;
}
</script>
<style lang="less" scoped>
.app-qr-box {
  display: flex;
  align-items: center;
  justify-content: space-around;

  .app-qr {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    >img {
      width: 100%;
      height: 100%;
    }

    .strong {
      font-weight: 600;
    }

    .qr-desc {
      display: flex;
      margin-top: 20px;
      align-items: center;
      font-size: 13px;
      color: red;
      text-align: center;
      overflow-x: hidden;

      >img {
        width: 15px;
        height: 18px;
        margin-right: 9px;
      }
    }
  }
}

.ant-carousel :deep(.slick-slide) {
  text-align: center;
  height: 120px;
  line-height: 120px;
  width: 120px;
  background: #364d79;
  overflow: hidden;
}

.ant-carousel :deep(.slick-slide h3) {
  color: #fff;
}
</style>
